package com.lizemin.multicache.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.sql.DataSource;

/**
 * @author lzm
 * @date 2025/4/13 10:59
 * @description
 */
@RestController
public class TestController {

    @Autowired
    DataSource dataSource;

    @GetMapping("/getDataSource")
    public void getDataSource() {
        System.out.println(dataSource);
    }

}
